package com.example.hadoop.hive;

import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.io.Text;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: Brian
 * @Date: 2020/05/03/8:33
 * @Description:
 */
public class CustomUDF extends UDF {

    public Text evaluate(String param) {
        return new Text(param.toUpperCase());
    }
}
